<template>
	<view :id="'tabs-scroll-' + index" class="scroll-view-item">
		<view class="title" v-if="title">
			{{title}}
		</view>
		<slot/>
	</view>
</template>
<script>
export default {
	name: '',
	props: {
		index: { type: Number, default:0 },
		title: { type: String, default:null },
	},
	data() {
		return {

		}
	},
}
</script>
<style lang="less">
.scroll-view-item{
	padding: 30rpx 0;
	.title{
		font-size: 30rpx;
		padding: 30rpx 0;
		font-weight: 600;
	}
}
</style>